#include "main.hpp"

int totalm(student stu)
{
	int total;
	total=stu.grade.chi+stu.grade.mat+stu.grade.eng+stu.grade.pro1+stu.grade.pro2+stu.grade.pro3+stu.grade.con;
	return total;
}
